package com.gulimall.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = "com.gulimall.member.feign") //启用open-feign远程调用，扫描feign目录下的所有接口
@EnableDiscoveryClient //启用nacos服务发现
@MapperScan(basePackages = {"com.gulimall.member.dao"}) //定义mapper映射文件扫描范围
@SpringBootApplication
public class GulimallMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallMemberApplication.class, args);
    }

}
